package com.chuangjiangx.microservice.demo.api;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Demo 服务的接口定义
 *
 * @author 马文韬
 * @version 1.0
 * @date: 2018/9/28
 */
@RequestMapping("/demo")
public interface DemoService {

    @RequestMapping(value = "/hello", method = RequestMethod.GET)
    String hello();

}
